package com.sss.hloster03;
//
public class Vehicles {
	String brand;// 商标
	String color;// 颜色
	
	public Vehicles(String brand, String color) {
		super();
		this.brand = brand;
		this.color = color;
	}
	public void run() {
		System.out.println("已经开动了.......");
	}
	public void showInfo() {
		System.out.println("此辆汽车商标为："+this.brand+" ,  颜色为： "+this.color);
	}
	public String getBrand() {
		return brand;
	}
	public void setBrand(String brand) {
		this.brand = brand;
	}
	public String getColor() {
		return color;
	}
	public void setColor(String color) {
		this.color = color;
	}
	
}
